<%@ page language="java" contentType="text/html;charset=UTF-8" %><%@ include file="../../inc/global.jsp" 
%>
<div class="goodsList">
<table>
<thead>
<tr>
<th>批次</th>
<th><fmt:message key="message.brand" /> <fmt:message key="message.category" /> 型号</th>
<th>首入库房</th>
<th>入库时间</th>
<th>数量</th>
<th>剩余</th>
<th>Cost</th>
</tr>
</thead>
<tbody>
<c:if test="${empty command}">
<tr>
<td></td>
<td></td>
<td></td>
<td>暂无记录...</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</c:if>
<c:forEach var="item" items="${command}" varStatus="s">
<tr id="${item.id}">
<td>${item.id}</td>
<td>
${item.brand.name} ${item.category.name} ${item.goods.name}
</td>
<td>${item.storehouse.name}</td>
<td>
<fmt:formatDate pattern="yy-MM-dd hh:mm:ss" value="${item.addTime}" />
</td>
<td>${item.total}</td>
<td>${item.statusNormalCount}</td>
<td>${item.purchase} / ${item.cost}</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
${pagination}